package com.suzhe.ymall.promotion.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class CouponVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "优惠卷id")
    private String id;

    @ApiModelProperty(value = "优惠券名称")
    private String name;

    @ApiModelProperty(value = "优惠券类型")
    private String couponType;

    @ApiModelProperty(value = "库存数量")
    private Integer stock;

    @ApiModelProperty(value = "满额限制:为0不限制")
    private Long fullAmount;

    @ApiModelProperty(value = "优惠券面值")
    private Integer couponValue;

    @ApiModelProperty(value = "折扣上限")
    private Integer discountLimit;

    @ApiModelProperty(value = "有效期模式")
    private String expireMode;

    @ApiModelProperty(value = "有效天数")
    private Integer expireDay;

    @ApiModelProperty(value = "过期时间")
    private Date expireTime;

    @ApiModelProperty(value = "过期提醒")
    private String expireRemind;

    @ApiModelProperty(value = "每人限领")
    private Integer userLimit;

    @ApiModelProperty(value = "预警数量")
    private Integer warnAmount;

    @ApiModelProperty(value = "预警邮箱")
    private String warnMail;

    @ApiModelProperty(value = "条件说明")
    private String condition;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

}
